// main design
.ra-arch-design {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: #fff;
  .ant-spin-nested-loading {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
  }
  .ant-spin {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    height: 200px !important;
  }
  .ant-spin-container {
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
  }
}
// aside
.ra-arch-aside {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
// content
.ra-arch-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
// actions
.ra-arch-actions {
  flex-shrink: 0;
}
// laneGroup
.ra-arch-laneGroup {
  flex: 1;
  overflow: auto;
  position: relative;
}

.ant-modal.rasir-fc-model {
  .ant-modal-body {
    padding: 10px 20px;
    .anticon {
      display: none;
    }
    .ant-modal-confirm-title {
      padding: 5px 10px;
    }
    .anticon + .ant-modal-confirm-title + .ant-modal-confirm-content {
      margin: 10px 0;
    }
    .ant-modal-confirm-btns {
      margin: 0;
      .ant-btn-loading-icon .anticon {
        display: inline-block;
      }
    }
  }
}
// 功能按钮 ActionButtons
.ra-arch-actionWrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  .ra-arch-systemDesc {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    float: right;
    > div {
      margin-right: 20px;
    }
    img {
      height: 24px;
      margin-right: 5px;
    }
  }
}
.ra-arch-actionButtons {
  padding: 10px;
  display: flex;
  * {
    margin: 0;
    padding: 0;
  }
  .ra-arch-btns-group {
    padding: 0 10px;
    > * {
      font-size: 14px;
      border-radius: 0;
      z-index: 1;
      &:hover,
      &:focus,
      &:active {
        z-index: 2;
      }
      &:first-child {
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
      }
      &:last-child {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
      }
      &:first-of-type {
        button.ant-btn {
          border-radius: 0;
          border-top-left-radius: 4px;
          border-bottom-left-radius: 4px;
        }
      }
      &:last-of-type {
        button.ant-btn {
          border-radius: 0;
          border-top-right-radius: 4px;
          border-bottom-right-radius: 4px;
        }
      }
    }
    .ant-btn {
      margin-left: -1px;
      padding: 0 10px;
      height: 24px;
    }
  }
}
// Icon
.ra-icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
  margin-top: -3%;
  margin-right: 5px;
}

// Lane
.ra-arch-laneWrapper {
  position: relative;
  overflow-x: hidden;
  height: 100%;
}
.ra-arch-mimiMap {
  display: none;
  position: absolute;
  width: 200px;
  height: 120px;
  background: #fff;
  opacity: 0.5;
  border: 1px solid #ccc;
  border-radius: 4px;
  right: 10px;
  top: 10px;
  z-index: 9999;
  transition: opacity 0.2s linear;
  cursor: pointer;
  &:hover {
    opacity: 1;
  }
}
.ra-arch-lane {
  overflow-y: hidden;
  > div {
    width: 100%;
    height: 100%;
  }
}
.ra-arch-laneTitle {
  position: absolute;
  left: 0;
  top: 25px;
  .ra-arch-laneTitleItem {
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  * {
    padding: 0;
    margin: 0;
  }
}
// List
.ra-arch-list {
  flex: 1;
  position: relative;
  .x6-widget-stencil-title,
  .x6-widget-stencil {
    background: #fff;
  }
  .x6-widget-stencil-group-title {
    background: #e8f5ff;
  }
}
